﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace DNA.Mvc
{
    [Table("dna_myfollows")]
    public class Follower
    {
        public Follower(string username, string follow)
        {
            UserName = username;
            FollowerName = follow;
        }

        [Key]
        public int ID { get; set; }
        
        [Required,MaxLength(255)]
        public virtual string UserName { get; set; }

        [Required, MaxLength(255)]
        public virtual string FollowerName { get; set; }
    }
}
